package com.sakura.mall.product.spuImages.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.spuImages.domain.entity.SpuImagesEntity;
import com.sakura.mall.product.spuImages.domain.request.AddSpuImagesRequest;
import com.sakura.mall.product.spuImages.domain.request.UpdateSpuImagesRequest;
import com.sakura.mall.product.spuImages.domain.request.SpuImagesPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.spuImages.domain.vo.SpuImagesVo;

/**
 * spu图片 service
 *
 * @author sakura
 */
public interface SpuImagesService extends IService<SpuImagesEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SpuImagesVo> queryPage(SpuImagesPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSpuImagesRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSpuImagesRequest request);
}
